package com.qys.wallet.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 用户充值地址表
 * </p>
 *
 * @author
 * @since 2023-09-25
 */
@Getter
@Setter
@TableName("wallet_coin_addr")
@Schema(name = "WalletCoinAddr", description = "用户充值地址表")
public class WalletCoinAddr implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "合约地址")
    @TableId(value = "address", type = IdType.INPUT)
    private String address;

    @Schema(description = "用户id")
    private String userId;

    @Schema(description = "主链名")
    private String chainName;

    @Schema(description = "地址所属 （1：店铺  2：个人）")
    private Byte type;

    @Schema(description = "创建时间")
    private Long createTime;
}
